PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.shadings Package / PDFAxialShading Class / setStartColor Method
The shading start color.
In This Topic
    setStartColor Method
    In This Topic
    Sets the shading start color.
    The startColor and endColor can be set only when the shading uses an exponential function ().
    Syntax
    public void setStartColor( 
       PDFColor startColor
    )

    Parameters

    startColor
    The shading start color.
    Exceptions
    ExceptionDescription
    when the start color is null or shading function is not an exponential function.
    See Also